package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;


/**
 * 行政区划表Entity
 *
 * @author generator
 * @date 2020-05-18 10:52
 */
@MyTable(value = "SystemAreaEntity", name = "system_area", comment = "行政区划表")
public class SystemAreaEntity extends BaseEntity {
    /**
     * 父行政区划主键
     */
    @MyColumn(value = "parentId", name = "parent_id", comment = "父行政区划主键", required = true)
    private Integer parentId;

    /**
     * 父行政区划编码
     */
    @MyColumn(value = "parentCode", name = "parent_code", comment = "父行政区划编码", required = true)
    private String parentCode;

    /**
     * 行政区划编码
     */
    @MyColumn(value = "areaCode", name = "area_code", comment = "行政区划编码", required = true)
    private String areaCode;

    /**
     * 行政区划名称
     */
    @MyColumn(value = "areaName", name = "area_name", comment = "行政区划名称", required = true)
    private String areaName;

    /**
     * 行政区划名称拼音缩写
     */
    @MyColumn(value = "areaNameAbbr", name = "area_name_abbr", comment = "行政区划名称拼音缩写")
    private String areaNameAbbr;

    /**
     * 禁用状态
     */
    @MyColumn(value = "disableState", name = "disable_state", comment = "禁用状态", required = true)
    private Integer disableState;

    /**
     * 是否省市区县
     */
    @MyColumn(value = "asProvinceCityCounty", name = "as_province_city_county", comment = "是否省市区县", required = true)
    private Integer asProvinceCityCounty;

    /**
     * 排序
     */
    @MyColumn(value = "sort", name = "sort", comment = "排序", required = true)
    private Integer sort;

    /**
     * 备注
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注")
    private String remark;


    public Integer getParentId() {
        return parentId;
    }

    public SystemAreaEntity setParentId(Integer parentId) {
        this.parentId = parentId;
        return this;
    }

    public String getParentCode() {
        return parentCode;
    }

    public SystemAreaEntity setParentCode(String parentCode) {
        this.parentCode = parentCode;
        return this;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public SystemAreaEntity setAreaCode(String areaCode) {
        this.areaCode = areaCode;
        return this;
    }

    public String getAreaName() {
        return areaName;
    }

    public SystemAreaEntity setAreaName(String areaName) {
        this.areaName = areaName;
        return this;
    }

    public String getAreaNameAbbr() {
        return areaNameAbbr;
    }

    public SystemAreaEntity setAreaNameAbbr(String areaNameAbbr) {
        this.areaNameAbbr = areaNameAbbr;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public SystemAreaEntity setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }

    public Integer getAsProvinceCityCounty() {
        return asProvinceCityCounty;
    }

    public SystemAreaEntity setAsProvinceCityCounty(Integer asProvinceCityCounty) {
        this.asProvinceCityCounty = asProvinceCityCounty;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public SystemAreaEntity setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public SystemAreaEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }
}